import request from '@/utils/request';

import { OPS_URL } from '@/config/query';

export async function queryDict(name) {
  return request(`${OPS_URL}/dict/permission_none/${name}`)
}

export async function queryDictList(params) {
  return request(`${OPS_URL}/dict/permission_none/list`, params)
}

export async function queryDictName(params) {
  return request(`${OPS_URL}/dict/permission_none/name`, params)
}